10. Play One Audio File
Play One Audio File
Question:
Start Quiz:
Solution:
INSTRUCTOR NOTE:
Download number_one.mp3 file
Hint: As a first step, when you click on a list item, pop up a toast message. Then modify the code so that clicking on a list item plays an audio file.
These are the changes needed to complete the quiz.
This is the state of the code after completing the quiz.
Note: In the video solution, Jessica presents the solution without showing that she'd already declared a new MediaPlayer variable (Solution code. Remember to add that when completing your code.
Emoji art supplied by http://emojione.com